﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class DanTocDTO
    {
        private int _iMaDanToc;

        public int MaDanToc
        {
            get { return _iMaDanToc; }
            set { _iMaDanToc = value; }
        }

        private string _strTenDanToc;

        public string TenDanToc
        {
            get { return _strTenDanToc; }
            set { _strTenDanToc = value; }
        }

        public DanTocDTO()
        {
            _iMaDanToc = -1;
            _strTenDanToc = "";
        }

        public DanTocDTO(int madanToc, string strTenDT)
        {
            _iMaDanToc = madanToc;
            _strTenDanToc = strTenDT;
        }
    }
}
